function genFile(net_file, net_content)

% [~, net.name] = fileparts(net_file);
% net.content = strtrim(fileread(net_file));

fid = fopen(net_file, 'w');
fwrite(fid, net_content, 'uchar');
fclose(fid);
